﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminPanel/AdminSite.Master" AutoEventWireup="true" CodeBehind="EditVehicleForm.aspx.cs" Inherits="FastTrackCabService.AdminPanel.EditVehicleForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Style/Form.css" rel="stylesheet" type="text/css"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="upValidationSummary" runat="server">
        <ContentTemplate>
            <table id="form">
                <tr>
                    <th colspan="3">
                        Vehicle registration
                    </th>
                </tr>
                <tr>
                    <td>
                        Subsidiary
                    </td>
                    <td style="text-align: left;">
                        <asp:DropDownList ID="ddlSubsidiary" OnSelectedIndexChanged="ddlSubsidiary_OnSelectedIndexChanged" AutoPostBack="True" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        Supervisor
                    </td>
                    <td style="text-align: left;">
                        <asp:DropDownList ID="ddlSupervisor" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        Type
                    </td>
                    <td style="text-align: left;">
                        <asp:DropDownList ID="ddlType" runat="server">
                            <asp:ListItem>Car</asp:ListItem>
                            <asp:ListItem>Van</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td colspan="3" style="text-align: center;">
                        <asp:Button ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_OnClick" CssClass="reset"/>
                        <asp:Button ID="btnRegister" CssClass="submit" runat="server" Text="Update" ValidationGroup="Registration"
                                    OnClick="btnRegister_OnClick"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:ValidationSummary ID="ValidationSummary1" CssClass="validationSummary" runat="server"
                                               ForeColor="Red" HeaderText="&lt;b&gt;Please fix following error(s):&lt;/b&gt;"
                                               ValidationGroup="Registration"/>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>